<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>App 下载大全</title>
  <link rel="stylesheet" href="layui/css/layui.css">
  <style>
	img{
		padding: 10%;
		width: 80%;
	}
  </style>
</head>
<body>
<div class="layui-row">
    <div class="layui-col-xs2">
      <div class="grid-demo grid-demo-bg1">
		<img src="image/1.jpg" />
	  </div>
    </div>
    <div class="layui-col-xs2">
      <div class="grid-demo">
		<img src="image/2.jpg" />
	  </div>
    </div>
	<div class="layui-col-xs2">
      <div class="grid-demo">
		<img src="image/3.jpg" />
	  </div>
    </div>
	<div class="layui-col-xs2">
      <div class="grid-demo">
		<img src="image/4.jpg" />
	  </div>
    </div>
	<div class="layui-col-xs2">
      <div class="grid-demo">
		<img src="image/5.jpg" />
	  </div>
    </div>
	<div class="layui-col-xs2">
      <div class="grid-demo">
		<img src="image/6.jpg" />
	  </div>
    </div>
  </div>
 
<script src="layui/layui.js"></script>
<script>
//一般直接写在一个js文件中
layui.use(['layer', 'form'], function(){
  var layer = layui.layer
  ,form = layui.form;
  
  layer.msg('Hello ， I am Like宏.');
});
</script> 
</body>
</html>